import babel from 'rollup-plugin-babel'

export default {
  input: 'src/index.js',
  output: [{
    file: 'dist/raf-timer.iife.js',
    format: 'iife',
    name: 'RafTimer'
  }, {
    file: 'dist/raf-timer.esm.js',
    format: 'es'
  }],
  plugins: [babel()]
}